remove commit
Remove a deep commit
git rebase -i HEAD~5
and then drop like number 3. Gotcha - it rewrites history of the ones not dropped.
git revert idhashjf23ijf2i323f
it creates a new commit with opposite adds, to cancel each other out.
Remove a deep commit
git rebase -i HEAD~5
and then drop like number 3. Gotcha - it rewrites history of the ones not dropped.
git revert idhashjf23ijf2i323f
it creates a new commit with opposite adds, to cancel each other out.